import request from '@/utils/request'
import { encryptionData } from '@/utils/com'
import Qs from 'qs'

export function jcdSandAcctInfopage(data) {
  return request({
    url: '/jcdGys/jcdSandAcctInfo/page',
    method: 'get',
    headers: encryptionData(data, '/jcdSandAcctInfo/page'),
    params: data
  })
}
export function getCommissionList(data) {
  return request({
    url: '/jcdOrder/sysDividerLog/page',
    method: 'get',
    headers: encryptionData(data, '/sysDividerLog/page'),
    params: data
  })
}
export function bankCardCheck(data) {
  return request({
    url: '/jcdPayment/sandOrderPc/bankCardCheck',
    method: 'POST',
    headers: encryptionData(data, '/jcdPayment/sandOrderPc/bankCardCheck'),
    data: Qs.stringify(data)
  })
}
/*  */
export function sandOrderPcupdate(data) {
  return request({
    url: `/jcdGys/jcdSandAcctInfo/update`,
    method: 'put',
    headers: encryptionData(data, '/jcdSandAcctInfo/update'),
    data: Qs.stringify(data)
  })
}
